import request from '@/utils/request';

export function getStudentList(data) {
  return request({
    url: '/Student/GetStudentList',
    method: 'post',
    data
  });
}

export function getStudentInfo(data) {
  return request({
    url: '/Student/GetStudentInfo?studentDataID=' + data,
    method: 'get'
  });
}

export function saveStudentInfo(data) {
  return request({
    url: '/Student/SaveStudentInfo',
    method: 'post',
    data
  });
}

export function getStudentCount() {
  return request({
    url: '/Student/GetStudentCount',
    method: 'get'
  });
}

export function getAnalysisStudentSex() {
  return request({
    url: '/Student/GetAnalysisStudentSex',
    method: 'get'
  });
}

export function getAnalysisStudentGrade() {
  return request({
    url: '/Student/GetAnalysisStudentGrade',
    method: 'get'
  });
}

export function getAnalysisStudentNative() {
  return request({
    url: '/Student/GetAnalysisStudentNative',
    method: 'get'
  });
}

